package com.manage.project.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.manage.framework.aspectj.lang.annotation.Excel;
import com.manage.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 electrical_rate_subentry
 *
 * @author ruoyi
 * @date 2022-05-10
 */
public class Bizjidianpingdingfenxiang extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评定分项单号 */
    private Long subentryId;

    /** 隧道名称 */
    @Excel(name = "隧道名称")
    private String tunnelName;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private Integer electricalEquipmentId;

    /** 设备完好率 */
    @Excel(name = "设备完好率")
    private Integer equipmentCompleteness;

    /** 权重 */
    @Excel(name = "权重")
    private Integer weight;

    /** 上次评定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次评定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastRateTime;

    /** 本次评定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本次评定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rateTime;

    /** 评定人 */
    @Excel(name = "评定人")
    private String rater;

    /** 负责人 */
    @Excel(name = "负责人")
    private String recorder;

    public void setSubentryId(Long subentryId)
    {
        this.subentryId = subentryId;
    }

    public Long getSubentryId()
    {
        return subentryId;
    }
    public void setTunnelName(String tunnelName)
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName()
    {
        return tunnelName;
    }
    public void setElectricalEquipmentId(Integer electricalEquipmentId)
    {
        this.electricalEquipmentId = electricalEquipmentId;
    }

    public Integer getElectricalEquipmentId()
    {
        return electricalEquipmentId;
    }
    public void setEquipmentCompleteness(Integer equipmentCompleteness)
    {
        this.equipmentCompleteness = equipmentCompleteness;
    }

    public Integer getEquipmentCompleteness()
    {
        return equipmentCompleteness;
    }
    public void setWeight(Integer weight)
    {
        this.weight = weight;
    }

    public Integer getWeight()
    {
        return weight;
    }
    public void setLastRateTime(Date lastRateTime)
    {
        this.lastRateTime = lastRateTime;
    }

    public Date getLastRateTime()
    {
        return lastRateTime;
    }
    public void setRateTime(Date rateTime)
    {
        this.rateTime = rateTime;
    }

    public Date getRateTime()
    {
        return rateTime;
    }
    public void setRater(String rater)
    {
        this.rater = rater;
    }

    public String getRater()
    {
        return rater;
    }
    public void setRecorder(String recorder)
    {
        this.recorder = recorder;
    }

    public String getRecorder()
    {
        return recorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subentryId", getSubentryId())
            .append("tunnelName", getTunnelName())
            .append("electricalEquipmentId", getElectricalEquipmentId())
            .append("equipmentCompleteness", getEquipmentCompleteness())
            .append("weight", getWeight())
            .append("lastRateTime", getLastRateTime())
            .append("rateTime", getRateTime())
            .append("rater", getRater())
            .append("recorder", getRecorder())
            .toString();
    }
}
